using Mono.Cecil;

namespace BruteMerge.Merger
{
    internal class AssemblyDescription
    {
        public string FileName { get; set; }
        public bool IsEntry { get; set; }

        public string AssemblyName
        {
            get { return Assembly.FullName; }
        }        
        public AssemblyDefinition Assembly { get; private set; }

        public AssemblyDescription(string fileName, bool isEntry = false)
        {
            FileName = fileName;
            IsEntry = isEntry;
            Assembly = AssemblyDefinition.ReadAssembly(fileName);
           
        }
    }
}